package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Create:2023/10/1-19:18 Description:
 * @Version:1.0
 */
@Mapper
public interface UserMapper {
    @Select("select * from sky_take_out.user where openid = #{openid}")
    User getByOpenid(String openid);

    void insert(User user);
}
